home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Applications 2004 April / SGI IRIX 6.5 Applications 2004 April.iso / dist / mozilla.idb / var / netscape / mozilla / chrome / bg-BG.jar / locale / bg-BG / venkman / venkman-help.tpl < prev    next >
Text File  |  2003-07-14  |  7KB  |  170 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
  2.  
  3. <html>
  4.   <head>
  5.     <meta http-equiv="content-type" content="text/html; charset=$report-charset">
  6.     <link rel="stylesheet" href="$css" type="text/css" media="screen">
  7.  
  8.     <title>Venkman Help System</title>
  9.     <script>
  10.       function onLoad ()
  11.       {
  12.           var searchStart = document.location.href.indexOf("?");
  13.           if (searchStart != -1)
  14.           {
  15.               var href = document.location.href;
  16.               var result = parseSearch(href.substr(searchStart + 1));
  17.  
  18.               if ("search" in result)
  19.               {
  20.                   document.getElementById("search").value =
  21.                       decodeURIComponent(result.search);
  22.               }
  23.  
  24.               if ("within" in result)
  25.               {
  26.                   var within = parseInt(result.within);
  27.                   if (within & 0x01)
  28.                       document.getElementById("command-names").checked = true;
  29.                   if (within & 0x02)
  30.                       document.getElementById("ui-labels").checked = true;
  31.                   if (within & 0x04)
  32.                       document.getElementById("help-text").checked = true;
  33.               }
  34.               else
  35.               {
  36.                   document.getElementById("command-names").checked = true;
  37.                   document.getElementById("ui-labels").checked = true;
  38.               }
  39.           }
  40.           else
  41.           {
  42.               document.getElementById("command-names").checked = true;
  43.               document.getElementById("ui-labels").checked = true;
  44.           }
  45.       }
  46.  
  47.       function onKeyUp (event)
  48.       {
  49.           if (event.keyCode == 13)
  50.               onSearch();
  51.       }
  52.  
  53.       function onSearch ()
  54.       {
  55.           var search = document.getElementById("search").value;
  56.  
  57.           var within = 0;
  58.           if (document.getElementById("command-names").checked)
  59.               within |= 0x01;
  60.           if (document.getElementById("ui-labels").checked)
  61.               within |= 0x02;
  62.           if (document.getElementById("help-text").checked)
  63.               within |= 0x04;
  64.  
  65.           document.location.href = "x-jsd:help?search=" + escape(search) +
  66.                                    "&within=" + within;
  67.       }
  68.  
  69.       function parseSearch (search)
  70.       {
  71.           var parseResult = new Object();
  72.           var ary = search.match(/([^&]+)/);
  73.           
  74.           while (ary)
  75.           {
  76.               var rest = RegExp.rightContext.substr(1);
  77.               var assignment = ary[1];
  78.               ary = assignment.match(/(.+)=(.*)/);
  79.               if (ary)
  80.               {
  81.                   /* only set the property the first time we see it */
  82.                   if (2 in ary && !(ary[1] in parseResult))
  83.                       parseResult[ary[1]] = ary[2];
  84.               }
  85.               ary = rest.match(/([^&]+)/);
  86.           }
  87.  
  88.           return parseResult;
  89.       }
  90.     </script>
  91.   </head>
  92.  
  93.   <body id="venkman-help" onload="onLoad();"
  94.     hasSearched="$has-searched" matchCount="$match-count">
  95.  
  96.     <a name="top"></a>
  97.     <div id="help-menu">
  98.       <span class="newbie-help">
  99.         <p>
  100.           Welcome to the <b>Venkman Help System</b>.  From here you can search
  101.           for help on the various commands avaialble in Venkman.  To search for a
  102.           particular command, type your search term in the box below and click
  103.           <b>Go</b>, or press <b>Enter</b>.
  104.         <p>
  105.           Additional help can be found on the
  106.           <a href="http://www.mozilla.org/projects/venkman/">Venkman Homepage</a>
  107.           or the
  108.           <a href="http://www.hacksrus.com/~ginda/venkman/faq/venkman-faq.html">Venkman FAQ</a>.
  109.       </span>
  110.       <span class="newbie-help">
  111.         The check boxes control which fields the search is performed on...
  112.         <ul>
  113.           <li><b>Command Names</b> matches the command name, as you might enter
  114.             it in the </b>Interactive Session</b>.
  115.           <li><b>User Interface Labels</b> matches the label used when the
  116.             command appears in a <b>menu</b> or <b>toolbar button</b>.
  117.           <li><b>Descriptions</b> matches the body of the help text.
  118.         </ul>
  119.       </span>
  120.       <p class="search-input">
  121.         Search: <input type="text" id="search" onkeyup="onKeyUp(event)"/>
  122.         <input type="button" onclick="onSearch()" value="Go">
  123.  
  124.         <input type="checkbox" id="command-names" value="1">
  125.         <label for="command-names">╨ÿ╨╝╨╡╨╜╨░ ╨╜╨░ ╨║╨╛╨╝╨░╨╜╨┤╨╕</label>
  126.  
  127.         <input type="checkbox" id="ui-labels" value="1">
  128.         <label for="ui-labels">User Interface Labels</label>
  129.  
  130.         <input type="checkbox" id="help-text" value="1">
  131.         <label for="help-text">╨₧╨┐╨╕╤ü╨░╨╜╨╕╤Å</label>
  132.       <p class="quick-searches">
  133.         [ <a href="x-jsd:help">Interactive Session Commands</a> |
  134.          <a href="x-jsd:help?search="><b>╨Æ╤ü╨╕╤ç╨║╨╕</b> ╨║╨╛╨╝╨░╨╜╨┤╨╕</a> |
  135.          <a href="x-jsd:help?search=%5E%5Ba-c%5D&within=2">A-C</a> |
  136.          <a href="x-jsd:help?search=%5E%5Bd-f%5D&within=2">D-F</a> |
  137.          <a href="x-jsd:help?search=%5E%5Bg-i%5D&within=2">G-I</a> |
  138.          <a href="x-jsd:help?search=%5E%5Bj-l%5D&within=2">J-L</a> |
  139.          <a href="x-jsd:help?search=%5E%5Bm-o%5D&within=2">M-O</a> |
  140.          <a href="x-jsd:help?search=%5E%5Bp-r%5D&within=2">P-R</a> |
  141.          <a href="x-jsd:help?search=%5E%5Bs-u%5D&within=2">S-U</a> |
  142.          <a href="x-jsd:help?search=%5E%5Bv-z%5D&within=2">V-Z</a> ]
  143.     </div>         
  144.        
  145.     <span id="match-count">╨¥╨░╨╝╨╡╤Ç╨╡╨╜╨╕ $match-count ╤ü╤è╨▓╨┐╨░╨┤╨░╤ë╨╕ ╨║╨╛╨╝╨░╨╜╨┤╨╕.</span>
  146.  
  147.     <span id="command-list">
  148. @-header-end
  149.       <span class="command">
  150.         <span class="label" item="command-name">╨ÿ╨╝╨╡ ╨╜╨░ ╨║╨╛╨╝╨░╨╜╨┤╨░:</span>
  151.         <span class="value" item="command-name"><a href="x-jsd:help?search=$command-name">$command-name</a></span><br>
  152.         <span class="label" item="ui-label">User Interface Label:</span>
  153.         <span class="value" item="ui-label"><a href="x-jsd:help?search=$ui-label-safe&within=2">$ui-label</a></span><br>
  154.         <br>
  155.         <span class="label" item="usage">╨ú╨┐╨╛╤é╤Ç╨╡╨▒╨░:</span> <span class="value" item="usage">$command-name $params</span><br>
  156.         <br>
  157.         <span class="label" item="accel-key">Accelerator Key:</span> $key<br>
  158.         <br>
  159.         <span class="label" item="description">╨₧╨┐╨╕╤ü╨░╨╜╨╕╨╡:</span><br>
  160.         <span class="value" item="description">$desc</span>
  161.         <span class="goto-top"><a href="#top">╨Æ╤Ç╤è╤ë╨░╨╜╨╡ ╨╜╨░ ╨▓╤è╤Ç╤à╨░</a></span>
  162.       </span>
  163.       <hr>
  164. @-command-end
  165.       <font color="red"><b>╨¥╤Å╨╝╨░ ╨╜╨░╨╝╨╡╤Ç╨╡╨╜╨╕ ╨║╨╛╨╝╨░╨╜╨┤╨╕</b></font>
  166. @-nomatch-end
  167.     </span>
  168.   </body>
  169. </html>
  170.